<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/commons/taglibs.jsp" %>
<html>
  <head>
  	<title>登录</title>
  	<style type="text/css">
  	.bg{
  		background: url("${ctx}/static/imgs/meinv.jpg") no-repeat scroll;
  		background-size:cover;  
  	}
  	.login-bg{
  		background:url("${ctx}/static/imgs/login_bg_1.png")no-repeat scroll;
  		background-size:cover;  
  		padding: 20px 10px 10px 10px;
  		position:fixed;
  		top:40%;
  		left:55%;
  		width: 500px;
  	}
  	</style>
  </head>
    <body class="container bg">
 	<form class="form-horizontal text-success login-bg" role="form" action="${ctx}/admin/user/login"　method="post" id="form">
 		<div class="form-group  form-inline">
		    <label class="col-md-8 text-danger text-center">${param.msg }</label>
	  </div>
	  <div class="form-group  form-inline">
	    <label class="col-md-4 control-label">账号：</label>
	    <div class="col-md-4">
	      <input type="text" class="form-control" name="userName" datatype="s3-50" placeholder="请输入用户账号"/>
	    </div>
	  </div>
	 <div class="form-group  form-inline">
	    <label class="col-md-4 control-label">密码：</label>
	    <div class="col-md-4">
	      <input type="password" class="form-control" name="password" 
	       datatype="s3-12" placeholder="请输入用户密码"/>
	    </div>
	  </div>
	  <div class="form-group">
	   	<div class="col-md-8 text-right">
	   		<input type="button" class="btn btn-primary" value="注册"></input>
	  		<input type="submit" class="btn btn-primary" value="登录"></input>
	  	</div>
	  </div>
	</form>
	<script type="text/javascript">
	$(function(){
		$("#form").Validform({
			tiptype:4
			})
		});
	</script>
  </body>
</html>
